package org.wgc.study.config;

import lombok.Data;
import org.wgc.study.entity.Transaction;

/***
 *@title ReconciliationResult
 *@description <TODO description class purpose>
 *@author wgc_j
 *@version 1.0.0
 *@create 2025-08-08 10:16
 **/
@Data
public class ReconciliationResult {
    private String transId;
    private String errorType;
    private String detail;

    public ReconciliationResult(Transaction transaction, String amountMismatch, String s) {
        this.transId = transaction.getId();
        this.errorType = amountMismatch;
        this.detail = s;
    }
}
